package com.garlicts.framework.core;

public interface FrameworkConstant {
    
    //=================================== 框架本身需要的常量 ===================================
    
	// 项目默认编码
	String FRAMEWORK_UTF8 = "UTF-8";
    String FRAMEWORK_BEAN_LOADER = "garlicts.framework.view.loader";
    String FRAMEWORK_DATASOURCE_FACTORY = "garlicts.framework.datasource.factory";
    String FRAMEWORK_JDBC_TEMPLATE = "garlicts.framework.jdbc.template";
    String FRAMEWORK_MVC_HANDLER_MAPPING = "garlicts.framework.mvc.handler.mapping";
    String FRAMEWORK_MVC_HANDLER_INVOKER = "garlicts.framework.mvc.handler.invoker";
    String FRAMEWORK_MVC_VIEW_RESOLVER = "garlicts.framework.view.resolver";
    String FRAMEWORK_SCAN_PACKAGE = "com.garlicts.framework";

    //=================================== 框架对外开放的常量 ===================================
    
    /**
     * 框架读取的配置文件 
     */ 
    String CUSTOM_CONFIG_FILE = "config.properties";

    /**
     * 扫描路径
     */
    String CUSTOM_SCAN_PACKAGE = "garlicts.custom.scan.package";

    /**
     * 插件路径
     */
    String CUSTOM_PLUGIN_PACKAGE = "garlicts.custom.plugin";

    /**
     * 数据库连接的配置 
     */
    String CUSTOM_JDBC_DRIVER = "garlicts.custom.jdbc.driver";
    String CUSTOM_JDBC_URL = "garlicts.custom.jdbc.url";
    String CUSTOM_JDBC_USERNAME = "garlicts.custom.jdbc.username";
    String CUSTOM_JDBC_PASSWORD = "garlicts.custom.jdbc.password";
    
    /**
     * jsp存放路径 
     */ 
    String CUSTOM_JSP_PATH = "garlicts.custom.jsp.path";

    /**
     * 项目首页 
     */
    String CUSTOM_HOME_PAGE = "garlicts.custom.home.page";

    /**
     * zookeeper 
     */
    String CUSTOM_ZOOKEEPER_ADDRESS = "garlicts.custom.zookeeper.address";

    /**
     * rpc端口
     */
    String CUSTOM_RPC_PORT = "garlicts.custom.rpc.port";

}
